<?php


namespace App\Dao;

use App\Model\Imchat;

class ImChatDao extends AbstractDao
{
    public function where(array $where): \Hyperf\Database\Model\Builder
    {
        $query = Imchat::query();
        foreach ($where as $key => $value) {
            $query->where($key, $value);
        }
        return $query;
    }

}